WP_Defender\Controller\Firewall B

Total Complexity 94
Dependencies 21
Dependents 8
Total lines 774
Lines of code 566
Logical lines of code 270
Comment lines 113
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
bulk_action()
A
39 11 74
maybe_lockout()
A
44 12 45
get_summary()
A
43 10 51
query_logs()
A
42 7 52
toggle_ip_action()
A
44 6 53
export_ip_logs()
A
42 6 50
schedule_cleanup_blocklist_ips_event()
S
57 7 17
maybe_show_demo_lockout()
S
50 5 30
export_strings()
S
54 5 21
is_a_staff_access()
S
60 5 12
__construct()
S
50 2 28
to_array()
S
54 2 22
save_settings()
S
56 2 21
empty_logs()
S
59 2 17
data_frontend()
S
53 1 22
enqueue_assets()
S
64 2 10
import_data()
S
69 2 7
add_cron_schedules()
S
68 1 7
main_view()
S
81 1 3
dashboard_activation()
S
64 1 9
clean_up_temporary_ip_blocklist()
S
82 1 3
clean_up_firewall_logs()
S
82 1 3
remove_settings()
S
70 1 6
remove_data()
S
82 1 3